package com.itheima.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * 创建SpringMvc的配置文件，加载Controller的bean
 *
 * tomcat启动时要知道加载这个配置类，所以要配置
 */
@Configuration
@ComponentScan("com.itheima.controller")
public class SpringMvcConfig {
}
